<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html jwcid="@Shell" title="Customer Information Edit" stylesheet="asset:main">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Customer Information Edit</title>
  <link href="../css/main.css"  rel="stylesheet" type="text/css">
  <script type="text/javascript" src="js/common.js"></script>
</head>


<body jwcid="@Body">

<div align="center" style="color:red;margin:2px">
    <span jwcid="@Delegator" delegate="ognl:beans.delegate.firstError">error</span>
</div>

<fieldset id="fieldsetDetail">
    <legend onclick="showContactDetailInfo('fieldsetDetail','contactDetailInfo')" style="cursor:pointer;">客户详细信息</legend>
    <table id="contactDetailInfo">

        <tr bgcolor="#eeeeee">
            <td align="right" width="75" nowrap>客户名称: </td>
            <td nowrap width="200"><span jwcid="showCustomerName">HP</span></td>
            <td align="right" width="75" nowrap>国家: </td>
            <td nowrap width="200"><span jwcid="showCountry">US</span></td>
        </tr>
        <tr bgcolor="#ffffff">
            <td align="right" width="75" nowrap>州/省:</td>
            <td nowrap width="200"><span jwcid="showProvince">New York</span></td>
            <td align="right" width="75" nowrap>城市:</td>
            <td nowrap width="200"><span jwcid="showCity">New York</span></td>
        </tr>
        <tr bgcolor="#eeeeee">
            <td align="right" width="75" nowrap>地址:</td>
            <td nowrap width="200"><span jwcid="showAddress">New York</span></td>
            <td align="right" width="75" nowrap>网址:</td>
            <td nowrap width="200"><span jwcid="showWebsite">www.hp.com</span></td>
        </tr>
        <tr bgcolor="#ffffff">
            <td align="right" width="75" nowrap>主要产品:</td>
            <td nowrap width="200"><span jwcid="showProduct">综合</span></td>
            <td align="right" width="75" nowrap>客户来源:</td>
            <td nowrap width="200"><span jwcid="showCustomerSource">A类</span></td>
        </tr>

        <tr bgcolor="#eeeeee">
            <td align="right" width="75" nowrap>客户等级:</td>
            <td colspan="3" nowrap><span jwcid="showCustomerLevel">标准</span></td>
        </tr>


         <tr bgcolor="#ffffff">
            <td align="right" width="75" nowrap>备注:</td>
            <td colspan="3" nowrap><span jwcid="showComment">This is test information......</span></td>
        </tr>

    </table>
</fieldset>


<form jwcid="customerInfoForm">

<span jwcid="@If" condition="ognl:modify">
    <fieldset id="fieldsetModify">
		<legend onclick="showContactDetailInfo('fieldsetModify','modify')" style="cursor:pointer;">修改客户信息</legend>

		<table id="modify">

            <tr>
				<td align="right" width="95" nowrap>客户名称&nbsp;</td>
				<td><input name="customerName" jwcid="customerName" class="inputWidth"/></td>
				<td align="right" width="95" nowrap>国家&nbsp;</td>
				<td><input name="country" jwcid="country" class="inputWidth"/></td>
            </tr>

            <tr>
				<td align="right" width="95" nowrap>州/省&nbsp;</td>
				<td><input name="province" jwcid="province" class="inputWidth"/></td>
				<td align="right" width="95" nowrap>城市&nbsp;</td>
				<td><input name="city" jwcid="city" class="inputWidth"/></td>
            </tr>

            <tr>
                <td align="right" width="95" nowrap>地址&nbsp;</td>
                <td><input name="address" jwcid="address" class="inputWidth"/></td>
                <td align="right" width="95" nowrap>网址&nbsp;</td>
                <td><input name="website" jwcid="website" class="inputWidth"/></td>
            </tr>

            <tr>
                <td align="right" width="95" nowrap>主要产品&nbsp;</td>
                <td>
                    <select jwcid="product">
                        <option value="0">---请选择---</option>
                    </select>
                </td>
                <td align="right" width="95" nowrap>客户等级&nbsp;</td>
                <td>
                    <select jwcid="customerLevel">
                        <option value="0">---请选择---</option>
                        <option value="1">核心</option>
                        <option value="2">重点</option>
                        <option value="3">标准</option>
                    </select>
                </td>
            </tr>

            <tr>
                <td align="right" width="95" nowrap>客户来源&nbsp;</td>
                <td>
                    <select jwcid="customerSource">
                        <option value="0">---请选择---</option>
                        <option value="1">A类</option>
                        <option value="2">B类</option>
                    </select>
                </td>
                <td align="right" width="95" nowrap colspan="2">&nbsp;</td>
            </tr>

            <tr>
                <td align="right" nowrap>备注&nbsp;</td>
                <td colspan="3">
                    <textarea rows="3" cols="48" jwcid="comment"> </textarea>
                </td>
            </tr>

        </table>

    </fieldset>
</span>

        <table>
            <tr>
                <td>&nbsp;</td>
                <td align="right" nowrap>
                    <input jwcid="@Submit" action="listener:goback" type="button" class="buttonStyle" value=" 返回上一页 "/>
                    <span jwcid="@If" condition="ognl:modify">
                    <input jwcid="@Submit" action="listener:infoSubmit" type="button" class="buttonStyle" value=" 修 改 "/>
                    </span>
                </td>
            </tr>
        </table>
    </form>

</body>

</html>